﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript">
function ConfirmMsg(){
	alertMsg.confirm("确定要修改燃油？", {
		okCall: function(){
			var myForm = document.getElementById("myForm");
			myForm.onsubmit();
		}
	});
}
</script>

<div class="pageContent">
	<form id="myForm" method="post" action="<%=basePath%>fuel_addEditFuel.action" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone)">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>渠道类别：</label>
				<input name="sn" type="text" size="30" value="${fuelBean.PClassName }" readonly="readonly"/>
				<input name="PFuelId"  type="hidden"  value="${fuelBean.PFuelId }"/>
			</p>
			<p>
				<label>起始日期：</label>
				<input name="PFuelSDate" class="required date" type="text" size="30" value="${fuelBean.PFuelSDate }"/>
			</p>
			<p>
				<label>结束日期：</label>
				<input name="PFuelEDate" class="required date" type="text" size="30" value="${fuelBean.PFuelEDate }"/>
			</p>
			<p>
				<label>燃油费用：</label>
				<input name="PFuelCost" class="required" type="text" max="2"  size="30" value="${fuelBean.PFuelCost }"/>
			</p>

		</div>
		<div class="formBar">
			<ul>
				<!--  
				<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				-->
				<li>
					<a class="button" href="javascript:;" onclick="ConfirmMsg()"><span>保存</span></a>
				</li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
